package com.muse.designpatterns.facade;

public class Car {
    private Door door;
    private Engine engine;
    private DashboardDisplay display;

    public Car() {
        engine = new Engine();
        display = new DashboardDisplay();
        door = new Door();
    }

    public void start() {
        display.refreshDisplay();
        door.lock();
        engine.start();
    }
}
